How to generate graphs and statistics from SQLAlchemy tables [Python]?

Posted by Az on Stack Overflow See other posts from Stack Overflow or by Az
Published on 2010-05-23T03:10:52Z Indexed on 2010/05/23 3:20 UTC
Read the original article Hit count: 265

Filed under:
|
|

Hi all,

After running a bunch of simulations I'm going to be outputting the results into a table created using SQLAlchemy. I plan to use this data to generatw statistics - mean and variance being key. These, in turn, will be used to generate some graphs - histograms/line graphs, pie-charts and box-and-whisker plots specifically.

I'm aware of the Python graphing libraries like matplotlib. The thing is, I'm not sure how to have this integrate with the information contained within the database tables. Any suggestions on how to make these two play with each other?

The main problem is that I'm not sure how to supply the information as "data sets" to the graphing library.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about python

Related posts about beginner